package com.yili.oa.models;

import java.util.ArrayList;
import java.util.List;

public class FtVipExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public FtVipExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andVipLevelIsNull() {
            addCriterion("vip_level is null");
            return (Criteria) this;
        }

        public Criteria andVipLevelIsNotNull() {
            addCriterion("vip_level is not null");
            return (Criteria) this;
        }

        public Criteria andVipLevelEqualTo(Integer value) {
            addCriterion("vip_level =", value, "vipLevel");
            return (Criteria) this;
        }

        public Criteria andVipLevelNotEqualTo(Integer value) {
            addCriterion("vip_level <>", value, "vipLevel");
            return (Criteria) this;
        }

        public Criteria andVipLevelGreaterThan(Integer value) {
            addCriterion("vip_level >", value, "vipLevel");
            return (Criteria) this;
        }

        public Criteria andVipLevelGreaterThanOrEqualTo(Integer value) {
            addCriterion("vip_level >=", value, "vipLevel");
            return (Criteria) this;
        }

        public Criteria andVipLevelLessThan(Integer value) {
            addCriterion("vip_level <", value, "vipLevel");
            return (Criteria) this;
        }

        public Criteria andVipLevelLessThanOrEqualTo(Integer value) {
            addCriterion("vip_level <=", value, "vipLevel");
            return (Criteria) this;
        }

        public Criteria andVipLevelIn(List<Integer> values) {
            addCriterion("vip_level in", values, "vipLevel");
            return (Criteria) this;
        }

        public Criteria andVipLevelNotIn(List<Integer> values) {
            addCriterion("vip_level not in", values, "vipLevel");
            return (Criteria) this;
        }

        public Criteria andVipLevelBetween(Integer value1, Integer value2) {
            addCriterion("vip_level between", value1, value2, "vipLevel");
            return (Criteria) this;
        }

        public Criteria andVipLevelNotBetween(Integer value1, Integer value2) {
            addCriterion("vip_level not between", value1, value2, "vipLevel");
            return (Criteria) this;
        }

        public Criteria andAccumulateEffectiveBetIsNull() {
            addCriterion("accumulate_effective_bet is null");
            return (Criteria) this;
        }

        public Criteria andAccumulateEffectiveBetIsNotNull() {
            addCriterion("accumulate_effective_bet is not null");
            return (Criteria) this;
        }

        public Criteria andAccumulateEffectiveBetEqualTo(Long value) {
            addCriterion("accumulate_effective_bet =", value, "accumulateEffectiveBet");
            return (Criteria) this;
        }

        public Criteria andAccumulateEffectiveBetNotEqualTo(Long value) {
            addCriterion("accumulate_effective_bet <>", value, "accumulateEffectiveBet");
            return (Criteria) this;
        }

        public Criteria andAccumulateEffectiveBetGreaterThan(Long value) {
            addCriterion("accumulate_effective_bet >", value, "accumulateEffectiveBet");
            return (Criteria) this;
        }

        public Criteria andAccumulateEffectiveBetGreaterThanOrEqualTo(Long value) {
            addCriterion("accumulate_effective_bet >=", value, "accumulateEffectiveBet");
            return (Criteria) this;
        }

        public Criteria andAccumulateEffectiveBetLessThan(Long value) {
            addCriterion("accumulate_effective_bet <", value, "accumulateEffectiveBet");
            return (Criteria) this;
        }

        public Criteria andAccumulateEffectiveBetLessThanOrEqualTo(Long value) {
            addCriterion("accumulate_effective_bet <=", value, "accumulateEffectiveBet");
            return (Criteria) this;
        }

        public Criteria andAccumulateEffectiveBetIn(List<Long> values) {
            addCriterion("accumulate_effective_bet in", values, "accumulateEffectiveBet");
            return (Criteria) this;
        }

        public Criteria andAccumulateEffectiveBetNotIn(List<Long> values) {
            addCriterion("accumulate_effective_bet not in", values, "accumulateEffectiveBet");
            return (Criteria) this;
        }

        public Criteria andAccumulateEffectiveBetBetween(Long value1, Long value2) {
            addCriterion("accumulate_effective_bet between", value1, value2, "accumulateEffectiveBet");
            return (Criteria) this;
        }

        public Criteria andAccumulateEffectiveBetNotBetween(Long value1, Long value2) {
            addCriterion("accumulate_effective_bet not between", value1, value2, "accumulateEffectiveBet");
            return (Criteria) this;
        }

        public Criteria andPromotionAwardIsNull() {
            addCriterion("promotion_award is null");
            return (Criteria) this;
        }

        public Criteria andPromotionAwardIsNotNull() {
            addCriterion("promotion_award is not null");
            return (Criteria) this;
        }

        public Criteria andPromotionAwardEqualTo(Long value) {
            addCriterion("promotion_award =", value, "promotionAward");
            return (Criteria) this;
        }

        public Criteria andPromotionAwardNotEqualTo(Long value) {
            addCriterion("promotion_award <>", value, "promotionAward");
            return (Criteria) this;
        }

        public Criteria andPromotionAwardGreaterThan(Long value) {
            addCriterion("promotion_award >", value, "promotionAward");
            return (Criteria) this;
        }

        public Criteria andPromotionAwardGreaterThanOrEqualTo(Long value) {
            addCriterion("promotion_award >=", value, "promotionAward");
            return (Criteria) this;
        }

        public Criteria andPromotionAwardLessThan(Long value) {
            addCriterion("promotion_award <", value, "promotionAward");
            return (Criteria) this;
        }

        public Criteria andPromotionAwardLessThanOrEqualTo(Long value) {
            addCriterion("promotion_award <=", value, "promotionAward");
            return (Criteria) this;
        }

        public Criteria andPromotionAwardIn(List<Long> values) {
            addCriterion("promotion_award in", values, "promotionAward");
            return (Criteria) this;
        }

        public Criteria andPromotionAwardNotIn(List<Long> values) {
            addCriterion("promotion_award not in", values, "promotionAward");
            return (Criteria) this;
        }

        public Criteria andPromotionAwardBetween(Long value1, Long value2) {
            addCriterion("promotion_award between", value1, value2, "promotionAward");
            return (Criteria) this;
        }

        public Criteria andPromotionAwardNotBetween(Long value1, Long value2) {
            addCriterion("promotion_award not between", value1, value2, "promotionAward");
            return (Criteria) this;
        }

        public Criteria andWeekAwardIsNull() {
            addCriterion("week_award is null");
            return (Criteria) this;
        }

        public Criteria andWeekAwardIsNotNull() {
            addCriterion("week_award is not null");
            return (Criteria) this;
        }

        public Criteria andWeekAwardEqualTo(Long value) {
            addCriterion("week_award =", value, "weekAward");
            return (Criteria) this;
        }

        public Criteria andWeekAwardNotEqualTo(Long value) {
            addCriterion("week_award <>", value, "weekAward");
            return (Criteria) this;
        }

        public Criteria andWeekAwardGreaterThan(Long value) {
            addCriterion("week_award >", value, "weekAward");
            return (Criteria) this;
        }

        public Criteria andWeekAwardGreaterThanOrEqualTo(Long value) {
            addCriterion("week_award >=", value, "weekAward");
            return (Criteria) this;
        }

        public Criteria andWeekAwardLessThan(Long value) {
            addCriterion("week_award <", value, "weekAward");
            return (Criteria) this;
        }

        public Criteria andWeekAwardLessThanOrEqualTo(Long value) {
            addCriterion("week_award <=", value, "weekAward");
            return (Criteria) this;
        }

        public Criteria andWeekAwardIn(List<Long> values) {
            addCriterion("week_award in", values, "weekAward");
            return (Criteria) this;
        }

        public Criteria andWeekAwardNotIn(List<Long> values) {
            addCriterion("week_award not in", values, "weekAward");
            return (Criteria) this;
        }

        public Criteria andWeekAwardBetween(Long value1, Long value2) {
            addCriterion("week_award between", value1, value2, "weekAward");
            return (Criteria) this;
        }

        public Criteria andWeekAwardNotBetween(Long value1, Long value2) {
            addCriterion("week_award not between", value1, value2, "weekAward");
            return (Criteria) this;
        }

        public Criteria andMonthAwardIsNull() {
            addCriterion("month_award is null");
            return (Criteria) this;
        }

        public Criteria andMonthAwardIsNotNull() {
            addCriterion("month_award is not null");
            return (Criteria) this;
        }

        public Criteria andMonthAwardEqualTo(Long value) {
            addCriterion("month_award =", value, "monthAward");
            return (Criteria) this;
        }

        public Criteria andMonthAwardNotEqualTo(Long value) {
            addCriterion("month_award <>", value, "monthAward");
            return (Criteria) this;
        }

        public Criteria andMonthAwardGreaterThan(Long value) {
            addCriterion("month_award >", value, "monthAward");
            return (Criteria) this;
        }

        public Criteria andMonthAwardGreaterThanOrEqualTo(Long value) {
            addCriterion("month_award >=", value, "monthAward");
            return (Criteria) this;
        }

        public Criteria andMonthAwardLessThan(Long value) {
            addCriterion("month_award <", value, "monthAward");
            return (Criteria) this;
        }

        public Criteria andMonthAwardLessThanOrEqualTo(Long value) {
            addCriterion("month_award <=", value, "monthAward");
            return (Criteria) this;
        }

        public Criteria andMonthAwardIn(List<Long> values) {
            addCriterion("month_award in", values, "monthAward");
            return (Criteria) this;
        }

        public Criteria andMonthAwardNotIn(List<Long> values) {
            addCriterion("month_award not in", values, "monthAward");
            return (Criteria) this;
        }

        public Criteria andMonthAwardBetween(Long value1, Long value2) {
            addCriterion("month_award between", value1, value2, "monthAward");
            return (Criteria) this;
        }

        public Criteria andMonthAwardNotBetween(Long value1, Long value2) {
            addCriterion("month_award not between", value1, value2, "monthAward");
            return (Criteria) this;
        }

        public Criteria andAccumulatePromotionAwardIsNull() {
            addCriterion("accumulate_promotion_award is null");
            return (Criteria) this;
        }

        public Criteria andAccumulatePromotionAwardIsNotNull() {
            addCriterion("accumulate_promotion_award is not null");
            return (Criteria) this;
        }

        public Criteria andAccumulatePromotionAwardEqualTo(Long value) {
            addCriterion("accumulate_promotion_award =", value, "accumulatePromotionAward");
            return (Criteria) this;
        }

        public Criteria andAccumulatePromotionAwardNotEqualTo(Long value) {
            addCriterion("accumulate_promotion_award <>", value, "accumulatePromotionAward");
            return (Criteria) this;
        }

        public Criteria andAccumulatePromotionAwardGreaterThan(Long value) {
            addCriterion("accumulate_promotion_award >", value, "accumulatePromotionAward");
            return (Criteria) this;
        }

        public Criteria andAccumulatePromotionAwardGreaterThanOrEqualTo(Long value) {
            addCriterion("accumulate_promotion_award >=", value, "accumulatePromotionAward");
            return (Criteria) this;
        }

        public Criteria andAccumulatePromotionAwardLessThan(Long value) {
            addCriterion("accumulate_promotion_award <", value, "accumulatePromotionAward");
            return (Criteria) this;
        }

        public Criteria andAccumulatePromotionAwardLessThanOrEqualTo(Long value) {
            addCriterion("accumulate_promotion_award <=", value, "accumulatePromotionAward");
            return (Criteria) this;
        }

        public Criteria andAccumulatePromotionAwardIn(List<Long> values) {
            addCriterion("accumulate_promotion_award in", values, "accumulatePromotionAward");
            return (Criteria) this;
        }

        public Criteria andAccumulatePromotionAwardNotIn(List<Long> values) {
            addCriterion("accumulate_promotion_award not in", values, "accumulatePromotionAward");
            return (Criteria) this;
        }

        public Criteria andAccumulatePromotionAwardBetween(Long value1, Long value2) {
            addCriterion("accumulate_promotion_award between", value1, value2, "accumulatePromotionAward");
            return (Criteria) this;
        }

        public Criteria andAccumulatePromotionAwardNotBetween(Long value1, Long value2) {
            addCriterion("accumulate_promotion_award not between", value1, value2, "accumulatePromotionAward");
            return (Criteria) this;
        }

        public Criteria andRewardIsNull() {
            addCriterion("reward is null");
            return (Criteria) this;
        }

        public Criteria andRewardIsNotNull() {
            addCriterion("reward is not null");
            return (Criteria) this;
        }

        public Criteria andRewardEqualTo(Float value) {
            addCriterion("reward =", value, "reward");
            return (Criteria) this;
        }

        public Criteria andRewardNotEqualTo(Float value) {
            addCriterion("reward <>", value, "reward");
            return (Criteria) this;
        }

        public Criteria andRewardGreaterThan(Float value) {
            addCriterion("reward >", value, "reward");
            return (Criteria) this;
        }

        public Criteria andRewardGreaterThanOrEqualTo(Float value) {
            addCriterion("reward >=", value, "reward");
            return (Criteria) this;
        }

        public Criteria andRewardLessThan(Float value) {
            addCriterion("reward <", value, "reward");
            return (Criteria) this;
        }

        public Criteria andRewardLessThanOrEqualTo(Float value) {
            addCriterion("reward <=", value, "reward");
            return (Criteria) this;
        }

        public Criteria andRewardIn(List<Float> values) {
            addCriterion("reward in", values, "reward");
            return (Criteria) this;
        }

        public Criteria andRewardNotIn(List<Float> values) {
            addCriterion("reward not in", values, "reward");
            return (Criteria) this;
        }

        public Criteria andRewardBetween(Float value1, Float value2) {
            addCriterion("reward between", value1, value2, "reward");
            return (Criteria) this;
        }

        public Criteria andRewardNotBetween(Float value1, Float value2) {
            addCriterion("reward not between", value1, value2, "reward");
            return (Criteria) this;
        }

        public Criteria andDepositSpeedupChannelIsNull() {
            addCriterion("deposit_speedup_channel is null");
            return (Criteria) this;
        }

        public Criteria andDepositSpeedupChannelIsNotNull() {
            addCriterion("deposit_speedup_channel is not null");
            return (Criteria) this;
        }

        public Criteria andDepositSpeedupChannelEqualTo(Integer value) {
            addCriterion("deposit_speedup_channel =", value, "depositSpeedupChannel");
            return (Criteria) this;
        }

        public Criteria andDepositSpeedupChannelNotEqualTo(Integer value) {
            addCriterion("deposit_speedup_channel <>", value, "depositSpeedupChannel");
            return (Criteria) this;
        }

        public Criteria andDepositSpeedupChannelGreaterThan(Integer value) {
            addCriterion("deposit_speedup_channel >", value, "depositSpeedupChannel");
            return (Criteria) this;
        }

        public Criteria andDepositSpeedupChannelGreaterThanOrEqualTo(Integer value) {
            addCriterion("deposit_speedup_channel >=", value, "depositSpeedupChannel");
            return (Criteria) this;
        }

        public Criteria andDepositSpeedupChannelLessThan(Integer value) {
            addCriterion("deposit_speedup_channel <", value, "depositSpeedupChannel");
            return (Criteria) this;
        }

        public Criteria andDepositSpeedupChannelLessThanOrEqualTo(Integer value) {
            addCriterion("deposit_speedup_channel <=", value, "depositSpeedupChannel");
            return (Criteria) this;
        }

        public Criteria andDepositSpeedupChannelIn(List<Integer> values) {
            addCriterion("deposit_speedup_channel in", values, "depositSpeedupChannel");
            return (Criteria) this;
        }

        public Criteria andDepositSpeedupChannelNotIn(List<Integer> values) {
            addCriterion("deposit_speedup_channel not in", values, "depositSpeedupChannel");
            return (Criteria) this;
        }

        public Criteria andDepositSpeedupChannelBetween(Integer value1, Integer value2) {
            addCriterion("deposit_speedup_channel between", value1, value2, "depositSpeedupChannel");
            return (Criteria) this;
        }

        public Criteria andDepositSpeedupChannelNotBetween(Integer value1, Integer value2) {
            addCriterion("deposit_speedup_channel not between", value1, value2, "depositSpeedupChannel");
            return (Criteria) this;
        }

        public Criteria andExclusiveCustomerServiceManagerIsNull() {
            addCriterion("exclusive_customer_service_manager is null");
            return (Criteria) this;
        }

        public Criteria andExclusiveCustomerServiceManagerIsNotNull() {
            addCriterion("exclusive_customer_service_manager is not null");
            return (Criteria) this;
        }

        public Criteria andExclusiveCustomerServiceManagerEqualTo(Integer value) {
            addCriterion("exclusive_customer_service_manager =", value, "exclusiveCustomerServiceManager");
            return (Criteria) this;
        }

        public Criteria andExclusiveCustomerServiceManagerNotEqualTo(Integer value) {
            addCriterion("exclusive_customer_service_manager <>", value, "exclusiveCustomerServiceManager");
            return (Criteria) this;
        }

        public Criteria andExclusiveCustomerServiceManagerGreaterThan(Integer value) {
            addCriterion("exclusive_customer_service_manager >", value, "exclusiveCustomerServiceManager");
            return (Criteria) this;
        }

        public Criteria andExclusiveCustomerServiceManagerGreaterThanOrEqualTo(Integer value) {
            addCriterion("exclusive_customer_service_manager >=", value, "exclusiveCustomerServiceManager");
            return (Criteria) this;
        }

        public Criteria andExclusiveCustomerServiceManagerLessThan(Integer value) {
            addCriterion("exclusive_customer_service_manager <", value, "exclusiveCustomerServiceManager");
            return (Criteria) this;
        }

        public Criteria andExclusiveCustomerServiceManagerLessThanOrEqualTo(Integer value) {
            addCriterion("exclusive_customer_service_manager <=", value, "exclusiveCustomerServiceManager");
            return (Criteria) this;
        }

        public Criteria andExclusiveCustomerServiceManagerIn(List<Integer> values) {
            addCriterion("exclusive_customer_service_manager in", values, "exclusiveCustomerServiceManager");
            return (Criteria) this;
        }

        public Criteria andExclusiveCustomerServiceManagerNotIn(List<Integer> values) {
            addCriterion("exclusive_customer_service_manager not in", values, "exclusiveCustomerServiceManager");
            return (Criteria) this;
        }

        public Criteria andExclusiveCustomerServiceManagerBetween(Integer value1, Integer value2) {
            addCriterion("exclusive_customer_service_manager between", value1, value2, "exclusiveCustomerServiceManager");
            return (Criteria) this;
        }

        public Criteria andExclusiveCustomerServiceManagerNotBetween(Integer value1, Integer value2) {
            addCriterion("exclusive_customer_service_manager not between", value1, value2, "exclusiveCustomerServiceManager");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}